﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Camc.Quality.QualityAnalysis.RFormClass
{
    /// <summary>
    /// 多媒体
    /// </summary>
    public class RMultiMediaEntity : FullAuditedEntity<Guid>
    {
        public RMultiMediaEntity()
        {

        }
        public RMultiMediaEntity(string photoNo, string photoNo_DisplayName, string secondPhotoNo = null, string secondPhotoNo_DisplayName = null, string thirdPhotoNo = null, string thirdPhotoNo_DisplayName = null, string fourthPhotoNo = null, string fourthPhotoNo_DisplayName = null)
        {
            PhotoNo = photoNo;
            PhotoNo_DisplayName = photoNo_DisplayName;
            SecondPhotoNo = secondPhotoNo;
            SecondPhotoNo_DisplayName = secondPhotoNo_DisplayName;
            ThirdPhotoNo = thirdPhotoNo;
            ThirdPhotoNo_DisplayName = thirdPhotoNo_DisplayName;
            FourthPhotoNo = fourthPhotoNo;
            FourthPhotoNo_DisplayName = fourthPhotoNo_DisplayName;
        }
        #region 照相（摄像）编号
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string PhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string PhotoNo_DisplayName { get; protected set; }
        #endregion

        #region 照相（摄像）编号2
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string SecondPhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string SecondPhotoNo_DisplayName { get; protected set; }
        #endregion

        #region 照相（摄像）编号3
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string ThirdPhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string ThirdPhotoNo_DisplayName { get; protected set; }
        #endregion

        #region 照相（摄像）编号4
        /// <summary>
        /// 所属部段值
        /// </summary>
        public virtual string FourthPhotoNo { get; protected set; }
        /// <summary>
        /// 所属部段列名
        /// </summary>
        public virtual string FourthPhotoNo_DisplayName { get; protected set; }
        #endregion

        public void SetMultiMedia(string photoNo, string photoNo_DisplayName)
        {
            PhotoNo = photoNo;
            PhotoNo_DisplayName = photoNo_DisplayName;
        }

        public void SetSecondMultiMedia(string photoNo, string photoNo_DisplayName)
        {
            SecondPhotoNo = photoNo;
            SecondPhotoNo_DisplayName = photoNo_DisplayName;
        }

        public void SetThirdMultiMedia(string photoNo, string photoNo_DisplayName)
        {
            ThirdPhotoNo = photoNo;
            ThirdPhotoNo_DisplayName = photoNo_DisplayName;
        }

        public void SetFourthMultiMedia(string photoNo, string photoNo_DisplayName)
        {
            FourthPhotoNo = photoNo;
            FourthPhotoNo_DisplayName = photoNo_DisplayName;
        }


        #region 之前
        //public RMultiMediaEntity(string photoNo, string photoNo_DisplayName)
        //{
        //    PhotoNo = photoNo;
        //    PhotoNo_DisplayName = photoNo_DisplayName;
        //}
        //#region 照相（摄像）编号
        ///// <summary>
        ///// 所属部段值
        ///// </summary>
        //public virtual string PhotoNo { get; protected set; }
        ///// <summary>
        ///// 所属部段列名
        ///// </summary>
        //public virtual string PhotoNo_DisplayName { get; protected set; }
        //#endregion

        //public void SetMultiMedia(string photoNo, string photoNo_DisplayName)
        //{
        //    PhotoNo = photoNo;
        //    PhotoNo_DisplayName = photoNo_DisplayName;
        //}
        #endregion

    }
}
